package com.spzx.product.enums;

/**
 * 线上状态：0-初始值，1-上架，-1-自主下架
 *
 * @author gaozz
 */
public enum ProductStatusEnums {

    INIT("0", "初始状态"), ON_SALE("1", "上架"), SOLD_OUT("-1", "下架");

    private final String code;
    private final String info;

    ProductStatusEnums(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
